package cn.heima.heima_netty.netty.c3.eventloop;

import io.netty.channel.DefaultEventLoopGroup;
import io.netty.util.concurrent.EventExecutor;

/**
 * @author felix
 * @date 2025/2/11 15:25
 */
public class EventLoop {
    public static void main(String[] args) {
        DefaultEventLoopGroup group = new DefaultEventLoopGroup(2);
//        System.out.println(group.next());
//        System.out.println(group.next());
//        System.out.println(group.next());
        for (EventExecutor executor:group){
            System.out.println(executor);
        }
    }
}
